package Meituan;

import com.google.common.collect.Lists;
import scala.Int;

import java.util.List;

/**
 * @author: leiwenkang
 * @date: 2020/6/29
 * @time: 14:28
 */
public class SubListTest {
    public static void main(String[] args) {
        List<Integer> list = Lists.newArrayList();
        list.add(1);
        list.add(2);
        list.add(3);
        List<Integer> result = list.subList(0, 10);
        System.out.println(result);
    }
}
